package Test;

import com.pojo.Orders;
import com.utils.MyBatisUtils;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;

public class OrdersTest {
    @Test
    public void findOrdersTest() {
        SqlSession session = MyBatisUtils.getSqlSession();
        Orders orders = session.selectOne("com.mapper."+"OrdersMapper.findOrders", 1);
        System.out.println(orders);
        session.close();
    }
}